import axios from "axios";

const service = axios.create({
    baseURL: '/api',
})

// 添加响应拦截器
service.interceptors.response.use(function (response) {
    return response.data;
}, function (error) {
    return Promise.reject(error);
});

export default service
